//package org.java.admin.config;
//
//import org.apache.solr.client.solrj.SolrClient;
//import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
//import org.springframework.context.annotation.Bean;
//import org.springframework.context.annotation.Configuration;
//import org.springframework.data.solr.core.SolrTemplate;
//
///**
// * @program: manage
// * @description
// * @author: LiuBao
// * @create: 2020-08-17 16:16
// **/
//@Configuration
//public class SearchAutoConfig {
//    @Bean
//    @ConditionalOnMissingBean(SolrTemplate.class)
//    public SolrTemplate solrTemplate(SolrClient solrClient) {
//        return new SolrTemplate(solrClient);
//    }
//}
